xen/arm: Introduce a helper to check local abort is enabled
authorWei Chen <Wei.Chen@arm.com>
Wed, 5 Apr 2017 09:09:17 +0000 (17:09 +0800)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 19:13:05 +0000 (12:13 -0700)
commit1656edde42d556d2457fb5a452c8e81a01328c0b
tree8cfde1303cfa7eca3b02a9d812a0bdc934bcdd99
parentc85e7d967e5551414da4fed2a0c2c3b121a2fe04
xen/arm: Introduce a helper to check local abort is enabled

In previous patch, we have umasked the Abort/SError bit for Xen
in most of its running time. So in some use-cases, we have to
check whether the abort is enabled in current context. For example,
while we want to synchronize SErrors, we have to confirm the abort
is enabled. Otherwise synchronize SErrors is pointless.

Signed-off-by: Wei Chen <Wei.Chen@arm.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/system.h